﻿using System.Collections.Generic;
// <copyright file="MainGM.cs" company="Gravity Age Studios">
// Code released under the MIT license (see License.txt).
// </copyright>
// <author>Vicente Cartas Espinel</author>
// <email>vicente.cartas@gmail.com</email>
namespace LightSwitchApplication
{
    using LightSwitchApplication.Import;

    public partial class StartGM
    {
        partial void ImportGameData_Execute()
        {
            ImporterHelper.ImportFullGameData(this.DataWorkspace);
        }

        partial void StartGM_InitializeDataWorkspace(List<Microsoft.LightSwitch.IDataService> saveChangesTo)
        {
            this.CharactersPendingApprovalProperty = this.CharactersPendingApprovalQuery.Count;
        }
    }
}
